﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Newtonsoft.Json;
using System.Text;
using System.IO;
using System.Data.Objects.DataClasses;

namespace AFI.Speargun.Web.Core
{
    public class JQueryTreeView
    {
        public JQueryTreeView()
        {
            this.ThemeName = "default";
        }

        public Guid TreeId { get; set; }
        public string TreeController { get; set; }
        public JQueryTreeViewRule Rules { get; set; }
        public string ThemeName { get; set; }
    }

    [Flags]
    public enum JQueryTreeViewRule
    {
        None = 0x0,
        Renameable = 0x1,
        Deletable = 0x2,
        Creatable = 0x4
    }
}